//
//  LWXHomeListMidel+HTML.m
//  EPA
//
//  Created by lanou3g on 16/4/26.
//  Copyright © 2016年 Liuwx. All rights reserved.
//

#import "LWXHomeListMidel+HTML.h"
#import <objc/message.h>
// key
static NSString const * key = @"HtmlStrKey";
@implementation LWXHomeListMidel (HTML)

- (void)setHtmlStr:(NSString *)htmlStr {
    //                       给谁存值                          存什么值
    objc_setAssociatedObject(self, (__bridge const void *)(key), htmlStr, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
    
}
- (NSString *)htmlStr {
    return objc_getAssociatedObject(self, (__bridge const void *)(key));
}

@end
